package com.teaRestaurant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("tables")
public class Tables {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    // 桌号
    private Long no;
    private Integer number;
    private Integer status;
    @TableField(exist = false)
    private Boolean isSelect = false;
    @TableField(exist = false)
    private Boolean isShow = false;
}
